<?php
session_start(); 
unset($_SESSION['User']['name']); 
unset($_SESSION['User']['pass']); 
unset($_SESSION['User']['email']); 

session_destroy();

header('Location: index.php?page=registration.php');

?>